//数据变更表
import cache from '/@/utils/hook/cache';

export default function (data: any) {
	const array = [
		{
			type: 'slot',
			slotName: 'tint1',
			label: window.$t('t2o7swLeobGCsdtY0Qy7M'),
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'input',
			label: window.$t('5SdqephRho555HxqbTCbi'),
			key: 'applicantName',
			value: data.applicantName || '',
			disabledStyle: true,
		},
		{
			//日期不用传,使用创建日期
			type: 'input',
			label: window.$t('8gijWjiIjgQJkhF_1KLq'),
			key: 'createdTime',
			value: data.createdTime || '',
			disabledStyle: true,
		},
		{
			type: 'input',
			label: window.$t('mcSzgDrxfhNi0yEi_2ohZ'),
			key: 'appDivision',
			value: data.appDivision || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},

		{
			type: 'input',
			label: window.$t('yJauBhY_6TVh0SIhqXngi'),
			key: 'mduleName',
			value: data.mduleName || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'radio',
			label: window.$t('hn3inoP_0cerIa9fGpjA'),
			key: 'demandClass',
			value: data.demandClass || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
			options: [
				{
					label: window.$t('neGi0ecsMa66rC4eBwVYt'),
					value: window.$t('ia7AbBxzji0JvMh8bYk'),
				},
				{
					label: window.$t('pcSiqnPfUJl0s5kyH0bAb'),
					value: window.$t('rIqf3L1r2CwsM4TeiWJpA'),
				},
				{
					label: window.$t('rVMj58L9o3lj2PmGz8B9B'),
					value: window.$t('rlpyzDufbMKxmKbs6Er'),
				},
				{
					label: window.$t('obv0757Ht2w02giOu4fQp'),
					value: window.$t('obv0757Ht2w02giOu4fQp'),
				},
			],
		},
		{
			type: 'textarea',
			label: window.$t('el8ccGEiZfNom4uTChBc'),
			key: 'needContent',
			value: data.needContent || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'textarea',
			label: window.$t('kohp6OsgcqbO5MiauPvX'),
			key: 'poblem',
			value: data.poblem || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'input',
			label: window.$t('iNJwO2yfbWhu6WwzyfFa'),
			key: 'auditProgress',
			value: data.auditProgress || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},

		{
			type: 'input',
			label: window.$t('usCpe569KRrXl4SndjyX'),
			key: 'description',
			value: data.description || '',
			disabledStyle: true,

			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},

		{
			type: 'slot',
			slotName: 'contract',
			key: 'contract',
			value: '',
		},
	];
	return array;
}
